﻿using ImageManager.DBAccess;
using ImageManager.Model;

namespace ImageManager.ImageService
{
    public class ModServiceProvider : BaseServiceProvider<ModModel>
    {
        public virtual List<ModModel> ListByMode(MyModAccessMode mode)
        {
            return List(CondCollection.True().Eq(nameof(ModModel.AccessMode), mode));
        }
    }
}